/*
Copyright SecureKey Technologies Inc. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/

package dispatcher

import (
	ab "git.cloud.inspur.com/ichain/ichain-protos-go/consenser"
)

type SeekEvent struct {
	SeekInfo *ab.SeekInfo
	ErrCh    chan<- error
}

func NewSeekEvent(seekInfo *ab.SeekInfo, errch chan<- error) *SeekEvent {
	return &SeekEvent{
		SeekInfo: seekInfo,
		ErrCh:    errch,
	}
}
